package com.hnl.dao;

import java.util.Collection;

import com.hnl.to.User;

public interface UserDAO {
	public User saveUser(User user);

	public User loadUserByUserID(Integer userID);

	public User loadUserByUsername(String username);

	public Collection<User> loadAllUser();

	public Collection<User> loadUserByUserEmail(String userEmail);

	public void updateUser(User user);

	public void deleteUser(Integer userID);
	
	public boolean CheckDuplicateEmail(String userEmail, String userID);
}
